
import Layout from '@/layout/index.vue'

export const routes = [{
    path: '/login',
    name: 'Login',
    component: () => import( /* webpackChunkName: "about" */ '../views/login')
  },
  {
    path: '/404',
    component: () => import('@/views/404'),
    hidden: true,
    name: '404',
  },
  {
    path: '/pic',
    name: 'pic',
    component: () => import( /* webpackChunkName: "pic" */ '../views/pic'),
    meta: {
      title: 'Home',
      icon: 'table'
    }
  },
  {
    path: '',
    component: Layout,
    redirect: '/home',
    name: 'Home',
    meta: {
      title: 'Home',
      icon: 'table'
    },
    children: [{
        path: '/home',
        name: 'Home',
        component: () => import( /* webpackChunkName: "about" */ '../views/home'),
        meta: {
          title: 'Home',
          icon: 'table'
        }
      },
    ]
  },
  
]
